projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6e1c60
)
(mouse-drag-region): Use deactivate-mark.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 21 Jul 1993 07:40:12 +0000
(07:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 21 Jul 1993 07:40:12 +0000
(07:40 +0000)
lisp/mouse.el
patch
|
blob
|
history
diff --git
a/lisp/mouse.el
b/lisp/mouse.el
index 868018436fbc479030e01fa75a749280b9ff20d0..fc00dddbb4f5b70b7e898f579381f76e08dccfd4 100644
(file)
--- a/
lisp/mouse.el
+++ b/
lisp/mouse.el
@@
-173,7
+173,7
@@
This must be bound to a button-down mouse event."
(move-overlay mouse-drag-overlay
start-point start-point
(window-buffer start-window))
- (
setq mark-active nil
)
+ (
deactivate-mark
)
(let (event end end-point)
(track-mouse
(while (progn
@@
-221,7
+221,7
@@
This must be bound to a button-down mouse event."
(numberp (posn-point (event-end event))))
(goto-char (posn-point (event-end event))))
(if (= (point) start-point)
- (
setq mark-active nil
)
+ (
deactivate-mark
)
(set-mark start-point))
(delete-overlay mouse-drag-overlay))))